package com.implementsystem.prestacontas.orgaos.entity;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
    "orgaos"
})
@XmlRootElement(name = "rsp")
public class Resposta {
	
	@XmlElement(name = "orgaos", required = true)
    private List<Orgao> orgaos;
	
	@XmlAttribute(name="status")
	private String status;
	
	 public List<Orgao> getOrgaos() {
		 
		 if(orgaos == null)
			 orgaos = new ArrayList<Orgao>();
		 
		return orgaos;
	}
	
	public void setOrgaos(List<Orgao> orgaos) {
		this.orgaos = orgaos;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}
	

}
